package com.iwhalecloud.bss.kite.cucc.spec.impl.query;

import com.iwhalecloud.bss.kite.dataservice.api.IQueryOfferGrpService;
import com.iwhalecloud.bss.kite.dataservice.mapper.spec.OfferGrpMapper;
import com.ztesoft.bss.common.util.SpringUtil;
import com.ztesoft.bss.order.cpc.dto.offergrp.OfferGrp;
import com.ztesoft.bss.order.cpc.dto.offergrp.OfferGrpMember;
import com.ztesoft.bss.order.cpc.dto.offergrp.OfferGrpRela;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class OfferGrpQueryService implements IQueryOfferGrpService {

	@Override
	public OfferGrp getOfferGrp(String offerGrpId) {
		OfferGrpMapper offerGrpMapper = SpringUtil.getBean(OfferGrpMapper.class);
        return offerGrpMapper.selectByPrimaryKey(offerGrpId);
	}

	@Override
	public List<OfferGrpMember> listOfferGrpMembersByOfferGrpId(String offerGrpId) {
        return Collections.emptyList();
	}

	@Override
	public List<OfferGrpMember> listGroupMembersBySingleMember(String offerId) {
		return Collections.emptyList();
	}

	@Override
	public OfferGrpRela getOfferGrpRela(String offerGrpRelId) {
		return null;
	}

}
